package Person;

import Impl.HouseObserver;
import Model.Cloth;
import Model.House;
import Model.Person;

public class Girl extends Person implements HouseObserver {
    private String type = "girl";
    @Override
    public void display(){
        System.out.println("i am a girl");
    }

    public String getType() {
        return type;
    }

    @Override
    public void update(House house) {
        house.addList(this);
    }
}
